<%@ page import="sar.StudentAttendant" %>



<div class="fieldcontain ${hasErrors(bean: studentAttendantInstance, field: 'attendant', 'error')} ">
	<label for="attendant">
		<g:message code="studentAttendant.attendant.label" default="Attendant" />
		
	</label>
	<g:checkBox name="attendant" value="${studentAttendantInstance?.attendant}" />
</div>

<div class="fieldcontain ${hasErrors(bean: studentAttendantInstance, field: 'studentCourse', 'error')} required">
	<label for="studentCourse">
		<g:message code="studentAttendant.studentCourse.label" default="Student Course" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="studentCourse" name="studentCourse.id" from="${sar.StudentCourse.list()}" optionKey="id" required="" value="${studentAttendantInstance?.studentCourse?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: studentAttendantInstance, field: 'teachingSession', 'error')} required">
	<label for="teachingSession">
		<g:message code="studentAttendant.teachingSession.label" default="Teaching Session" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="teachingSession" name="teachingSession.id" from="${sar.TeachingSession.list()}" optionKey="id" required="" value="${studentAttendantInstance?.teachingSession?.id}" class="many-to-one"/>
</div>

